package com.benjaminwan.read.free.model.action

import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class Script @JvmOverloads constructor(
    val globalConfig: GlobalConfig = GlobalConfig(),
    val groups: List<Group> = emptyList(),
    val memo: String = ""
) {
    override fun toString(): String {
        return "$globalConfig, 包含组:${groups.size}"
    }
}